﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

    class AirlineModel
    {
        FlightType type;

        internal FlightType _Type
        {
            get { return type; }
            set { type = value; }
        }

        List<string> from;

        public List<string> _From
        {
            get { return from; }
            set { from = value; }
        }

        List<string> to;

        public List<string> _To
        {
            get { return to; }
            set { to = value; }
        }

        int adults;

        public int _Adults
        {
            get { return adults; }
            set { adults = value; }
        }

        int childrens;

        public int _Childrens
        {
            get { return childrens; }
            set { childrens = value; }
        }

        int infant;

        public int _Infant
        {
            get { return infant; }
            set { infant = value; }
        }
    }

    enum FlightType
    {
        RoundTrip = 0,
        OneWay = 1
    }